﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="QuanLyLoaiPhep.aspx.cs" Inherits="ChamCong.Admin.QuanLyLoaiPhep" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<div style="width: 600px;">
    <div id="divmenu" style="float: left; margin-right: 20px;">
        <asp:Label ID="Label1" runat="server" Text="Danh sách loại phép" 
            Font-Bold="True" ForeColor="#CC0000"></asp:Label>
        <asp:TreeView ID="tvwLoaiPhep" runat="server" SkipLinkText="">
        </asp:TreeView>
    </div>
    <div id="divloaicong" style="float: left;">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table style="width: 370px;">
                    <tr>
                        <td>
                            <asp:Label ID="lblThongTinLP" runat="server" Text="Thông tin loại phép" 
                                Font-Bold="True" ForeColor="Blue"></asp:Label></td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:RadioButtonList ID="rdbMenu" runat="server" AutoPostBack="True" 
                                RepeatDirection="Horizontal" 
                                onselectedindexchanged="rdbMenu_SelectedIndexChanged">
                                <asp:ListItem Value="0">Thông tin</asp:ListItem>
                                <asp:ListItem Value="1" >Thêm mới</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Loại phép:</td>
                        <td>
                            <asp:TextBox ID="txtLoaiPhep" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Loại công:</td>
                        <td>
                            <asp:DropDownList ID="ddlLoaiCong" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Button ID="btnCapNhat" class="button" runat="server" Text="Cập nhật" 
                                onclick="btnCapNhat_Click" Visible="False" />
                            <asp:Button ID="btnThemMoi" runat="server" class="button" Visible="False" 
                                onclick="btnThemMoi_Click" Text="Thêm loại phép" />
                            <asp:Button ID="btnXoa" class="button" runat="server" Text="Xóa" 
                                Visible="False" onclick="btnXoa_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <sbc:sbcMsgBox ID="sbcMsgBox1" runat="server" UseJQuery="True" /></td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
        
    </div>
</div>
</asp:Content>
